To mock; to ridicule or imitate, often to express contempt
To defeat easily, so as to show up as inadequate.
The burglars made a mockery of the museum's security system.